<?php
	include_once 'config/common.php';
	$email=$commonc->getInfo('email');

	$smtp = new email($email['server'],$email['serverport'],true,$email['user'],$email['pass']);//这里面的一个true是表示使用身份验证,否则不使用身份验证.
	$smtp->debug = true;//是否显示发送的调试信息
	$smtp->sendmail($smtpemailto, $email['usermail'], $email['name'], $mailsubject, $mailbody, "HTML","","bcc","additional");
?>